<template>
  <div class="pic-container">
    <div class="header">
        <div class="header-title">{{meetingMsg.title}}</div>
        <i class="close-icon" @click="closeAndSureBtn('close')"></i>
    </div>
    <div class="img-container">
        <!-- <img class="material-img" src="https://img1.baidu.com/it/u=3893389324,4043822814&fm=253&fmt=auto&app=120&f=JPEG?w=1280&h=800" alt=""> -->
        <!-- <img class="material-img" src="https://img2.baidu.com/it/u=1309303401,3608077611&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=889" alt=""> -->
        <img class="material-img" :src="meetingMsg.link" alt="">
    </div>
  </div>
</template>
<script>
export default {
    props: {
        meetingMsg:Object
    },
    data() {
        return {

        }
    },
    methods: {
        //点击关闭弹窗
        closeAndSureBtn(type) {
            // this.$emit("formChildMsg", {
            //     type: "closeApplyInfo",
            // });
            this.$emit("formChildMsg", {
                type: "closeVantPopup",
            });
        },
    }
}
</script>

<style lang="less" scoped>
.pic-container{
    width: 100%;
    height: 100%;
    overflow: hidden;
    .header{
        width: 90%;
        height: 124px;
        margin: 0 auto;
        border-bottom: 1px solid #F2F2F2;
        margin-bottom: 20px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        .header-title{
            width: 100px;
            height: 100%;
            flex:1;
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: 600;
            font-size: 38px;
            color: #000000;
            padding-left: 40px;
        }
        .close-icon{
            width: 48px;
            height: 48px;
            background: url('../../../assets/images/report_close.png') no-repeat;
            background-size: 48px 48px;
        }
    }
    .img-container{
        width: 100%;
        height: calc(100% - 144px);
        display: flex;
        justify-content: center;
        align-items: center;
        .material-img{
            max-width: 95%;
            max-height: 95%;
        }
    }
    
}
</style>